Skip to content

Conversation

@chriswritescode-dev
Copy link
Owner

Summary

  • Consolidated 7 separate Git service classes into a single unified GitService class
  • Updated all Git route handlers to use the new consolidated service
  • Refactored settings dialog to use URL-based state management with tab synchronization
  • Updated social preview image

Changes

  • Backend: Created unified GitService class that consolidates: GitCommitService, GitPushService, GitLogService, GitStatusService, GitFetchPullService, GitBranchService, and GitDiffService
  • Backend: Updated 15+ route handlers in backend/src/routes/repo-git.ts to use the new GitService
  • Frontend: Refactored settings dialog state management (commit b7315da)
  • Assets: Updated .github/social-preview.png

Benefits

  • Reduced code duplication and improved maintainability
  • Simplified Git operations through a single service interface
  • Better state management in settings dialog

Merges GitBranchService, GitCommitService, GitDiffService, GitFetchPullService,
GitLogService, GitPushService, and GitStatusService into one cohesive GitService
that simplifies architecture and follows SOLID principles. Updates all route
handlers and tests to use the new consolidated service. Moves GitBranch interface
to shared types location.
@chriswritescode-dev chriswritescode-dev merged commit e3716bb into main Feb 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant